home *** CD-ROM | disk | FTP | other *** search
/ Kit PC World De Ampliacion De Windows 95 / Kit PC World de ampliacion de Windows 95.iso / internet / sweeper / include / datapath.h < prev    next >
C/C++ Source or Header  |  1995-12-04  |  10KB  |  385 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 2.00.0102 */
  5. /* at Tue Dec 05 03:08:32 1995
  6.  */
  7. //@@MIDL_FILE_HEADING(  )
  8. #include "rpc.h"
  9. #include "rpcndr.h"
  10. #ifndef COM_NO_WINDOWS_H
  11. #include "windows.h"
  12. #include "ole2.h"
  13. #endif /*COM_NO_WINDOWS_H*/
  14.  
  15. #ifndef __datapath_h__
  16. #define __datapath_h__
  17.  
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif 
  21.  
  22. /* Forward Declarations */ 
  23.  
  24. #ifndef __IBindHost_FWD_DEFINED__
  25. #define __IBindHost_FWD_DEFINED__
  26. typedef interface IBindHost IBindHost;
  27. #endif     /* __IBindHost_FWD_DEFINED__ */
  28.  
  29.  
  30. #ifndef __IObjectWithSite_FWD_DEFINED__
  31. #define __IObjectWithSite_FWD_DEFINED__
  32. typedef interface IObjectWithSite IObjectWithSite;
  33. #endif     /* __IObjectWithSite_FWD_DEFINED__ */
  34.  
  35.  
  36. /* header files for imported files */
  37. #include "objidl.h"
  38. #include "oleidl.h"
  39. #include "oaidl.h"
  40.  
  41. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  42. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  43.  
  44. /****************************************
  45.  * Generated header for interface: __MIDL__intf_0000
  46.  * at Tue Dec 05 03:08:32 1995
  47.  * using MIDL 2.00.0102
  48.  ****************************************/
  49. /* [local] */ 
  50.  
  51.  
  52. //+-------------------------------------------------------------------------
  53. //
  54. //  Microsoft Windows
  55. //  Copyright 1995 - 1996 Microsoft Corporation. All Rights Reserved.
  56. //
  57. //  File: datapath.h
  58. //
  59. //--------------------------------------------------------------------------
  60.             /* size is 0 */
  61.  
  62.             /* size is 0 */
  63.  
  64.             /* size is 0 */
  65.  
  66.             /* size is 0 */
  67.  
  68.             /* size is 0 */
  69.  
  70. #include "idispids.h"
  71.  
  72. ////////////////////////////////////////////////////////////////////////////
  73. //  State values for the DISPID_READYSTATE property
  74.             /* size is 4 */
  75.  
  76. enum __MIDL___MIDL__intf_0000_0001
  77.     {    READYSTATE_LOADING    = 0,
  78.     READYSTATE_LOADED    = 2,
  79.     READYSTATE_INTERACTIVE    = 3,
  80.     READYSTATE_COMPLETE    = 4
  81.     };
  82.  
  83. ////////////////////////////////////////////////////////////////////////////
  84. typedef VARIANT OLE_DATAPATH;
  85.  
  86. ////////////////////////////////////////////////////////////////////////////
  87. //  ARRAYID GUIDs (link to uuid3.lib)
  88. EXTERN_C const GUID ARRAYID_Interfaces_Incoming;
  89. EXTERN_C const GUID ARRAYID_Interfaces_Outgoing;
  90. EXTERN_C const GUID ARRAYID_Categories_Implemented;
  91. EXTERN_C const GUID ARRAYID_Categories_Required;
  92. EXTERN_C const GUID ARRAYID_PathProperties;
  93. EXTERN_C const GUID ARRAYID_Methods_Primary;
  94. EXTERN_C const GUID ARRAYID_Methods_Secondary;
  95.  
  96. ////////////////////////////////////////////////////////////////////////////
  97. //  Interface Definitions
  98. #ifndef _LPBINDHOST_DEFINED
  99. #define _LPBINDHOST_DEFINED
  100. EXTERN_C const GUID SID_BindHost;
  101.  
  102.  
  103. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_c_ifspec;
  104. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_s_ifspec;
  105.  
  106. #ifndef __IBindHost_INTERFACE_DEFINED__
  107. #define __IBindHost_INTERFACE_DEFINED__
  108.  
  109. /****************************************
  110.  * Generated header for interface: IBindHost
  111.  * at Tue Dec 05 03:08:32 1995
  112.  * using MIDL 2.00.0102
  113.  ****************************************/
  114. /* [unique][uuid][object] */ 
  115.  
  116.  
  117.             /* size is 4 */
  118. typedef /* [unique] */ IBindHost __RPC_FAR *LPBINDHOST;
  119.  
  120.  
  121. EXTERN_C const IID IID_IBindHost;
  122.  
  123. #if defined(__cplusplus) && !defined(CINTERFACE)
  124.     
  125.     interface IBindHost : public IUnknown
  126.     {
  127.     public:
  128.         virtual HRESULT __stdcall ParseDisplayName( 
  129.             /* [in] */ LPOLESTR szName,
  130.             /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmk) = 0;
  131.         
  132.         virtual HRESULT __stdcall GetBindCtx( 
  133.             /* [in] */ DWORD dwReserved,
  134.             /* [out] */ IBindCtx __RPC_FAR *__RPC_FAR *ppbc) = 0;
  135.         
  136.     };
  137.     
  138. #else     /* C style interface */
  139.  
  140.     typedef struct IBindHostVtbl
  141.     {
  142.         
  143.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  144.             IBindHost __RPC_FAR * This,
  145.             /* [in] */ REFIID riid,
  146.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  147.         
  148.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  149.             IBindHost __RPC_FAR * This);
  150.         
  151.         ULONG ( __stdcall __RPC_FAR *Release )( 
  152.             IBindHost __RPC_FAR * This);
  153.         
  154.         HRESULT ( __stdcall __RPC_FAR *ParseDisplayName )( 
  155.             IBindHost __RPC_FAR * This,
  156.             /* [in] */ LPOLESTR szName,
  157.             /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmk);
  158.         
  159.         HRESULT ( __stdcall __RPC_FAR *GetBindCtx )( 
  160.             IBindHost __RPC_FAR * This,
  161.             /* [in] */ DWORD dwReserved,
  162.             /* [out] */ IBindCtx __RPC_FAR *__RPC_FAR *ppbc);
  163.         
  164.     } IBindHostVtbl;
  165.  
  166.     interface IBindHost
  167.     {
  168.         CONST_VTBL struct IBindHostVtbl __RPC_FAR *lpVtbl;
  169.     };
  170.  
  171.     
  172.  
  173. #ifdef COBJMACROS
  174.  
  175.  
  176. #define IBindHost_QueryInterface(This,riid,ppvObject)    \
  177.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  178.  
  179. #define IBindHost_AddRef(This)    \
  180.     (This)->lpVtbl -> AddRef(This)
  181.  
  182. #define IBindHost_Release(This)    \
  183.     (This)->lpVtbl -> Release(This)
  184.  
  185.  
  186. #define IBindHost_ParseDisplayName(This,szName,ppmk)    \
  187.     (This)->lpVtbl -> ParseDisplayName(This,szName,ppmk)
  188.  
  189. #define IBindHost_GetBindCtx(This,dwReserved,ppbc)    \
  190.     (This)->lpVtbl -> GetBindCtx(This,dwReserved,ppbc)
  191.  
  192. #endif /* COBJMACROS */
  193.  
  194.  
  195. #endif     /* C style interface */
  196.  
  197.  
  198.  
  199. HRESULT __stdcall IBindHost_ParseDisplayName_Proxy( 
  200.     IBindHost __RPC_FAR * This,
  201.     /* [in] */ LPOLESTR szName,
  202.     /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmk);
  203.  
  204.  
  205. void __RPC_STUB IBindHost_ParseDisplayName_Stub(
  206.     IRpcStubBuffer *This,
  207.     IRpcChannelBuffer *_pRpcChannelBuffer,
  208.     PRPC_MESSAGE _pRpcMessage,
  209.     DWORD *_pdwStubPhase);
  210.  
  211.  
  212. HRESULT __stdcall IBindHost_GetBindCtx_Proxy( 
  213.     IBindHost __RPC_FAR * This,
  214.     /* [in] */ DWORD dwReserved,
  215.     /* [out] */ IBindCtx __RPC_FAR *__RPC_FAR *ppbc);
  216.  
  217.  
  218. void __RPC_STUB IBindHost_GetBindCtx_Stub(
  219.     IRpcStubBuffer *This,
  220.     IRpcChannelBuffer *_pRpcChannelBuffer,
  221.     PRPC_MESSAGE _pRpcMessage,
  222.     DWORD *_pdwStubPhase);
  223.  
  224.  
  225.  
  226. #endif     /* __IBindHost_INTERFACE_DEFINED__ */
  227.  
  228.  
  229. /****************************************
  230.  * Generated header for interface: __MIDL__intf_0077
  231.  * at Tue Dec 05 03:08:32 1995
  232.  * using MIDL 2.00.0102
  233.  ****************************************/
  234. /* [local] */ 
  235.  
  236.  
  237. #endif
  238. #ifndef _LPOBJECTWITHSITE_DEFINED
  239. #define _LPOBJECTWITHSITE_DEFINED
  240.  
  241.  
  242. extern RPC_IF_HANDLE __MIDL__intf_0077_v0_0_c_ifspec;
  243. extern RPC_IF_HANDLE __MIDL__intf_0077_v0_0_s_ifspec;
  244.  
  245. #ifndef __IObjectWithSite_INTERFACE_DEFINED__
  246. #define __IObjectWithSite_INTERFACE_DEFINED__
  247.  
  248. /****************************************
  249.  * Generated header for interface: IObjectWithSite
  250.  * at Tue Dec 05 03:08:32 1995
  251.  * using MIDL 2.00.0102
  252.  ****************************************/
  253. /* [unique][uuid][object] */ 
  254.  
  255.  
  256.             /* size is 4 */
  257. typedef /* [unique] */ IObjectWithSite __RPC_FAR *LPOBJECTWITHSITE;
  258.  
  259.  
  260. EXTERN_C const IID IID_IObjectWithSite;
  261.  
  262. #if defined(__cplusplus) && !defined(CINTERFACE)
  263.     
  264.     interface IObjectWithSite : public IUnknown
  265.     {
  266.     public:
  267.         virtual HRESULT __stdcall SetSite( 
  268.             /* [in] */ IUnknown __RPC_FAR *punkSite) = 0;
  269.         
  270.         virtual HRESULT __stdcall GetSite( 
  271.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkSite) = 0;
  272.         
  273.     };
  274.     
  275. #else     /* C style interface */
  276.  
  277.     typedef struct IObjectWithSiteVtbl
  278.     {
  279.         
  280.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  281.             IObjectWithSite __RPC_FAR * This,
  282.             /* [in] */ REFIID riid,
  283.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  284.         
  285.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  286.             IObjectWithSite __RPC_FAR * This);
  287.         
  288.         ULONG ( __stdcall __RPC_FAR *Release )( 
  289.             IObjectWithSite __RPC_FAR * This);
  290.         
  291.         HRESULT ( __stdcall __RPC_FAR *SetSite )( 
  292.             IObjectWithSite __RPC_FAR * This,
  293.             /* [in] */ IUnknown __RPC_FAR *punkSite);
  294.         
  295.         HRESULT ( __stdcall __RPC_FAR *GetSite )( 
  296.             IObjectWithSite __RPC_FAR * This,
  297.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkSite);
  298.         
  299.     } IObjectWithSiteVtbl;
  300.  
  301.     interface IObjectWithSite
  302.     {
  303.         CONST_VTBL struct IObjectWithSiteVtbl __RPC_FAR *lpVtbl;
  304.     };
  305.  
  306.     
  307.  
  308. #ifdef COBJMACROS
  309.  
  310.  
  311. #define IObjectWithSite_QueryInterface(This,riid,ppvObject)    \
  312.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  313.  
  314. #define IObjectWithSite_AddRef(This)    \
  315.     (This)->lpVtbl -> AddRef(This)
  316.  
  317. #define IObjectWithSite_Release(This)    \
  318.     (This)->lpVtbl -> Release(This)
  319.  
  320.  
  321. #define IObjectWithSite_SetSite(This,punkSite)    \
  322.     (This)->lpVtbl -> SetSite(This,punkSite)
  323.  
  324. #define IObjectWithSite_GetSite(This,ppunkSite)    \
  325.     (This)->lpVtbl -> GetSite(This,ppunkSite)
  326.  
  327. #endif /* COBJMACROS */
  328.  
  329.  
  330. #endif     /* C style interface */
  331.  
  332.  
  333.  
  334. HRESULT __stdcall IObjectWithSite_SetSite_Proxy( 
  335.     IObjectWithSite __RPC_FAR * This,
  336.     /* [in] */ IUnknown __RPC_FAR *punkSite);
  337.  
  338.  
  339. void __RPC_STUB IObjectWithSite_SetSite_Stub(
  340.     IRpcStubBuffer *This,
  341.     IRpcChannelBuffer *_pRpcChannelBuffer,
  342.     PRPC_MESSAGE _pRpcMessage,
  343.     DWORD *_pdwStubPhase);
  344.  
  345.  
  346. HRESULT __stdcall IObjectWithSite_GetSite_Proxy( 
  347.     IObjectWithSite __RPC_FAR * This,
  348.     /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkSite);
  349.  
  350.  
  351. void __RPC_STUB IObjectWithSite_GetSite_Stub(
  352.     IRpcStubBuffer *This,
  353.     IRpcChannelBuffer *_pRpcChannelBuffer,
  354.     PRPC_MESSAGE _pRpcMessage,
  355.     DWORD *_pdwStubPhase);
  356.  
  357.  
  358.  
  359. #endif     /* __IObjectWithSite_INTERFACE_DEFINED__ */
  360.  
  361.  
  362. /****************************************
  363.  * Generated header for interface: __MIDL__intf_0078
  364.  * at Tue Dec 05 03:08:32 1995
  365.  * using MIDL 2.00.0102
  366.  ****************************************/
  367. /* [local] */ 
  368.  
  369.  
  370. #endif
  371.  
  372.  
  373. extern RPC_IF_HANDLE __MIDL__intf_0078_v0_0_c_ifspec;
  374. extern RPC_IF_HANDLE __MIDL__intf_0078_v0_0_s_ifspec;
  375.  
  376. /* Additional Prototypes for ALL interfaces */
  377.  
  378. /* end of Additional Prototypes */
  379.  
  380. #ifdef __cplusplus
  381. }
  382. #endif
  383.  
  384. #endif
  385.